package wechat.handler.bean.response.event.menu;

import org.dom4j.DocumentException;

import wechat.handler.bean.response.EventMessageBean;

public class MenuLocationSelectBean extends EventMessageBean {
	private String Location_X;
	private String Location_Y;
	private String Scale;
	private String Label;
	private String Poiname;
	
	public MenuLocationSelectBean(String str) throws DocumentException {
		super(str);
	}
	
	public MenuLocationSelectBean(){
		
	}
	
	public String getLocation_X() {
		return Location_X;
	}

	public void setLocation_X(String location_X) {
		Location_X = location_X;
	}

	public String getLocation_Y() {
		return Location_Y;
	}

	public void setLocation_Y(String location_Y) {
		Location_Y = location_Y;
	}

	public String getScale() {
		return Scale;
	}

	public void setScale(String scale) {
		Scale = scale;
	}

	public String getLabel() {
		return Label;
	}

	public void setLabel(String label) {
		Label = label;
	}

	public String getPoiname() {
		return Poiname;
	}

	public void setPoiname(String poiname) {
		Poiname = poiname;
	}

	
	
	protected static final String Xpath_Location_X = "/xml/SendLocationInfo/Location_X";
	protected static final String Xpath_Location_Y = "/xml/SendLocationInfo/Location_Y";
	protected static final String Xpath_Scale = "/xml/SendLocationInfo/Scale";
	protected static final String Xpath_Label = "/xml/SendLocationInfo/Label";
	protected static final String Xpath_Poiname = "/xml/SendLocationInfo/Poiname";
	
	public void transform() throws Exception {
		super.transform();
		this.setLocation_X(getNodeText(Xpath_Location_X));
		this.setLocation_Y(getNodeText(Xpath_Location_Y));
		this.setScale(getNodeText(Xpath_Scale));
		this.setLabel(getNodeText(Xpath_Label));
		this.setPoiname(getNodeText(Xpath_Poiname));
	}

	


}
